﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Cinema_Ticketing_System.Models
{
    public class Cinema_Area
    {
        CinemaDBEntities2 cdb = new CinemaDBEntities2();
        /// <summary>
        /// 获得所有地区信息
        /// </summary>
        /// <returns></returns>
        public List<area_table> GetArea()
        {
            List<area_table> areaList = cdb.area_table.ToList();
            return areaList;
        }

    }
}